home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbnumorders.man < prev    next >
Text File  |  1993-04-22  |  1KB  |  45 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89              DBNUMORDERS
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBNUMORDERS
  6.  
  7.   FUNCTION:
  8.        Return the number of columns specified in a  Transact-SQL  SELECT
  9.        statement's ORDER BY clause.
  10.  
  11.   SYNTAX:
  12.        int DBNUMORDERS(dbproc)
  13.  
  14.        DBPROCESS *dbproc;
  15.  
  16.   COMMENTS:
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBNUMORDERS             Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.        o Once a SELECT statement has been executed and  dbresults()  has
  28.          been  called  to process it, the application can call DBNUMORD-
  29.          ERS() to find out  how  many  columns  were  specified  in  the
  30.          statement's ORDER BY clause.
  31.  
  32.   PARAMETERS:
  33.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  34.            connection for a particular front-end/SQL Server process.  It
  35.            contains all the information that DB-Library uses  to  manage
  36.            communications and data between the front end and SQL Server.
  37.  
  38.   RETURNS:
  39.        The number of ORDER BY columns.  If there's no ORDER  BY  clause,
  40.        this routine returns 0.  If there's an error, it returns -1.
  41.  
  42.   SEE ALSO:
  43.        dbordercol
  44.  
  45.